package com.crm.service;

import com.crm.constant.dto.BaseFxResponse;
import com.crm.entity.CrmSite;
import com.baomidou.mybatisplus.extension.service.IService;
import com.crm.model.bo.CrmSitePageBo;
import com.crm.model.dto.BasePageResult;
import com.crm.model.vo.ReportCountVo;

import java.util.List;

/**
 * <p>
 * CRM-场地表 服务类
 * </p>
 *
 * @author CRM_SYSTEM
 * @since 2022-03-30
 */
public interface ICrmSiteService extends IService<CrmSite> {

    CrmSite queryById(Long siteId);

    Long saveSite(CrmSite crmSite);

    Long updateSite(CrmSite crmSite);

    BasePageResult<CrmSite> queryPage(CrmSitePageBo sitePageBo);

    BaseFxResponse<Boolean> deleteById(Long siteId);

    List<ReportCountVo> siteMonthCount();
}
